<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- saved from url=(0096)https://yx.ibikang.com/views/zhensuo/bjxymb.jsp?ID=82&dwPage=1&dwmingcheng=&dwleibie=&jinyongbz= -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../static/css/common-ypmb.css">
</head><body><div class="g-doc">
	<fieldset style="margin-bottom:0; width:1024px;border-bottom:dashed 1px #ccc;">
        <div class="crumbs-title">
          <b></b>
          <span>编辑处方</span>
  		</div>
    </fieldset>
	<form method="post" id="formSave" onsubmit="return false;">
		<div class="second-doc clearfix" id="divMuban">
			<div class="g-form-group ">
			   	<div class="g-shield">
				    <label class="g-label-name"><span class="glyph-star">*</span> 处方名称：</label>
				    <input id="mbmc" type="text" class="g-input g-input-name form-control" data-rule="模板名称: required;length(1~64)" data-target="#msg_holder" placeholder="请输入名称" name="mingcheng">
			    </div>
				<div class="g-shield g-radio-shield">   
				    <label class="g-label-name">处方分类：</label>
							<input type="radio" id="west-medicine" name="leixing" checked="checked" value="1">
							<label id="west-label" for="west-medicine" class="radio-label on">&nbsp;&nbsp; 成药 </label>
	
				 </div>
				 <input name="chengyaoyp" type="hidden" id="chengyaoypId">
				 <input name="id" type="hidden" id="id">
				 <div class="g-shield g-radio-shield">   
				    <label class="g-label-name">状态：</label>
							<input type="radio" id="status-work" name="jinyongbz" value="1">
							<label name="chinese" id="work-label" for="status-work" class="radio-label">&nbsp;&nbsp;启用</label>
							<input type="radio" id="status-stop" name="jinyongbz" value="0">
							<label for="status-stop" id="stop-label" class="radio-label">&nbsp;&nbsp;禁用</label>
				 </div>
				 <div class="g-shield g-radio-shield" id="fenxiangdiv" style="display: none">   
				    <label class="g-label-name">是否分享：</label>
							<input type="radio" id="status-fenxiang" name="fenxiangbz" value="1">
							<label name="fenxiang" id="fenxiang-label" for="status-fenxiang" class="radio-label">&nbsp;&nbsp;是</label>
							<input type="radio" id="status-bufenxiang" name="fenxiangbz" value="0">
							<label for="status-bufenxiang" id="bufenxiang-label" class="radio-label">&nbsp;&nbsp;否</label>
				 </div>					 
			</div>
		</div>
		<div class="third-doc chufangmb-yaopin">
			       <div class="western-medicine g-m-west">
				     <div class="chinese-head">成药处方1</div>
				     <input type="hidden" class="wm-paixu" style="display:none;" name="paixu" value="&#39;+(len+1)+&#39;">
			         <input type="hidden" style="display:none;">
				     <div style="width:920px;margin-left:30px;">
				     <table class="table" id="chengyaoyp" style="table-layout:fixed;">
				      <thead> <tr><th style="width:250px">药品名称</th><th style="width:54px">组号</th> <th style="width:120px">用法</th><th style="width:138px">用药频率</th><th style="width:100px">每次剂量</th><th style="width:100px">开药量</th><th style="width:25px"></th></tr></thead>
				        <tbody>
				        <tr id="first1">
				     	</tr>
				          </tbody>
				       </table>
				   </div></div>		
		</div>
		 <div class="g-form-button clearfix" style="float:none;">
		 	<button class="btn btn-success button" style="display:none;" type="submit" id="btnSubmit">保存</button> 
			<div class="btn btn-default btn-xymb-cancel button button1" type="button">返回</div>
		  </div>
	 </form>
</div>
<script src="../static/js/bjxymb.js"></script>
<script type="text/javascript">
	var path = '';
	var id=82;
	var dwPage = '1';
	var dwmingcheng = '';
	var dwleibie = '';
	var yuanGongId = '335';
	var prejinyongbz = '';
	$(".btn-xymb-cancel").click(function(){
		$("#cedan").load(path+"chufangmb.jsp?&dwid="+id+"&dwPage="+dwPage+"&dwmingcheng="+dwmingcheng+"&dwleibie="+dwleibie + '&jinyongbz=' + prejinyongbz);
		return false; 
	});
	getId(id,dwPage,dwmingcheng,dwleibie, yuanGongId, prejinyongbz);
</script>
</body></html>
